package DTO;


import java.io.File;
import java.util.ArrayList;
import java.util.Date;
import javax.mail.Flags;
import javax.mail.Flags.Flag;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author NxSiHMr0D
 */
public class MailStructureDTO {
    //"Chủ đề","Người gởi","Ngày gởi","Đính kèm","tập tin đính kèm"
    private String _title;
    private String _sender;
    private Date _dateSend;
    private Boolean _isAttachment;
    private String _content;
    private ArrayList<File> _attachFile;
    private Flags _isFlag;
    private String _pass;
    private String _recipients;
    private ArrayList<String> _nameAttachFile;
    private String _contentHTML;
    private int _typeMail;
    private int _mailIn;
    private int _idMail;
    public String getPass() {
        return _pass;
    }

    public void setPass(String _pass) {
        this._pass = _pass;
    }
    
    public MailStructureDTO(){
        _title ="";
        _sender ="";
        _dateSend = new Date();
        _isAttachment = false;
        _content ="";
        _attachFile = new ArrayList<File>();
        _nameAttachFile= new ArrayList<String>();
        _isFlag = null;
        this._pass = "";
        _contentHTML = "";
    }
    /**
     * @return the _title
     */
    public String getTitle() {
        return _title;
    }

    /**
     * @param title the _title to set
     */
    public void setTitle(String title) {
        this._title = title;
    }

    /**
     * @return the _sender
     */
    public String getSender() {
        return _sender;
    }

    /**
     * @param sender the _sender to set
     */
    public void setSender(String sender) {
        this._sender = sender;
    }

    /**
     * @return the _dateSend
     */
    public Date getDateSend() {
        return _dateSend;
    }

    /**
     * @param dateSend the _dateSend to set
     */
    public void setDateSend(Date dateSend) {
        this._dateSend = dateSend;
    }

   
    /**
     * @return the _isAttachment
     */
    public Boolean getIsAttachment() {
        return _isAttachment;
    }

    /**
     * @param isAttachment the _isAttachment to set
     */
    public void setIsAttachment(Boolean isAttachment) {
        this._isAttachment = isAttachment;
    }

    /**
     * @return the _content
     */
    public String getContent() {
        return _content;
    }

    /**
     * @param content the _content to set
     */
    public void setContent(String content) {
        this._content = content;
    }

    /**
     * @return the _attachFile
     */
    public ArrayList<File> getAttachFiles() {
        return _attachFile;
    }

    /**
     * @param attachFile the _attachFile to set
     */
    public void setAttachFiles(ArrayList<File> attachFile) {
        this._attachFile = attachFile;
    }

    /**
     * @return the _isFlag
     */
    public Flags getIsFlag() {
        return _isFlag;
    }

    /**
     * @param isFlag the _isFlag to set
     */
    public void setIsFlag(Flags isFlag) {
        this._isFlag = isFlag;
    }

    /**
     * @return the _recipients
     */
    public String getRecipients() {
        return _recipients;
    }

    /**
     * @param recipients the _recipients to set
     */
    public void setRecipients(String recipients) {
        this._recipients = recipients;
    }

    /**
     * @return the _nameAttachFile
     */
    public ArrayList<String> getNameAttachFile() {
        return _nameAttachFile;
    }

    /**
     * @param nameAttachFile the _nameAttachFile to set
     */
    public void setNameAttachFile(ArrayList<String> nameAttachFile) {
        this._nameAttachFile = nameAttachFile;
    }

    /**
     * @return the _contentHTML
     */
    public String getContentHTML() {
        return _contentHTML;
    }

    /**
     * @param contentHTML the _contentHTML to set
     */
    public void setContentHTML(String contentHTML) {
        this._contentHTML = contentHTML;
    }

    /**
     * @return the _typeMail
     */
    public int getTypeMail() {
        return _typeMail;
    }

    /**
     * @param typeMail the _typeMail to set
     */
    public void setTypeMail(int typeMail) {
        this._typeMail = typeMail;
    }

    /**
     * @return the _mailIn
     */
    public int getMailIn() {
        return _mailIn;
    }

    /**
     * @param mailIn the _mailIn to set
     */
    public void setMailIn(int mailIn) {
        this._mailIn = mailIn;
    }

    /**
     * @return the _idMail
     */
    public int getIdMail() {
        return _idMail;
    }

    /**
     * @param idMail the _idMail to set
     */
    public void setIdMail(int idMail) {
        this._idMail = idMail;
    }

}
